package com.thisblog.homepage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.thisblog.homepage.pojo.entity.SysPermission;

import java.util.List;

public interface ISysPermissionService extends IService<SysPermission> {

    List<SysPermission> listPermissionRoles();

    boolean refreshPermissionRolesCache();

    List<String> listPermsByRoleIds(List<Long> roleIds, Integer type);

}
